// cover some element-ui styles
body {
  color: #333;
}
.el-breadcrumb__inner {
  font-weight: 400 !important;
  &.is-link {
    color: #97a8be !important;
  }
  a {
    color: #97a8be !important;
    font-weight: 400 !important;
    &:hover {
      color: #1890ff !important;
    }
  }
}

.el-upload {
  input[type='file'] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    min-width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block;
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}
.el-form-item__label {
  font-weight: normal !important;
}
.el-input__inner {
  padding: 0 12px !important;
}
// .el-table__expanded-cell {
//   padding: 20px !important;
// }
.el-message-box {
  padding-bottom: 10px !important;
  .el-message-box__header {
    padding-left: 32px !important;
    padding-top: 32px !important;
    .el-message-box__title {
      justify-content: start !important;
      font-weight: bold;
    }
    .el-message-box__headerbtn {
      top: 14px !important;
      right: 14px !important;
      .el-message-box__close {
        font-size: 24px !important;
      }
    }
  }
  .el-message-box__content {
    padding: 10px 32px 10px 60px !important;
    text-align: left !important;
    word-break: break-all;
  }
  .el-message-box__status {
    font-size: 24px !important;
    color: $warning;
  }

  .el-message-box__btns {
    padding: 10px 32px 18px !important;
    text-align: right !important;
    .el-button {
      min-width: 64px !important;
      padding: 8px 12px !important;
      font-size: 14px !important;
    }
  }
}
.el-dialog__header {
  padding-top: 12px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid #f0f0f0 !important;
  background-color: #f6f7f9 !important;
  .el-dialog__title {
    font-size: 16px !important;
    font-weight: bold;
  }
}
.el-dialog__wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  .el-dialog {
    margin: 0 !important;
    border-radius: 4px !important;
    overflow: hidden;
    // position: fixed !important;
    // left: 50%;
    // top: 50%;
    // transform: translateY(-50%);
    .el-dialog__body {
      max-height: 793px;
      box-sizing: border-box;
      overflow: auto;
    }
  }
}
.el-dialog__headerbtn {
  top: 9px !important;
  right: 12px !important;
  font-size: 24px !important;
}
.el-dialog {
  .el-button {
    min-width: 64px !important;
  }
}
.el-input--prefix .el-input__inner {
  padding-left: 30px !important;
}
.el-input--suffix .el-input__inner {
  padding-right: 30px !important;
}
